package org.jeecg.jxc.base.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.jxc.base.supplier.entity.Supplier;

import java.util.List;

public interface SupplierMapper{

    int addSupplier(Supplier supplier);

    int delete(@Param("ids") Integer ids);

    List<Supplier> pages(@Param("pageNo") Integer page,@Param("pageSize") Integer rows,@Param("supplier_name") String supplierName);

    Integer count(@Param("pageNo") Integer page,@Param("pageSize") Integer rows,@Param("supplier_name") String supplierName);

    int updateById(Integer supplierId, Supplier supplier);
}